<?php 
error_reporting(0);
$isadmin=1; 
include '../comm/config.php';
include '../comm/checkpostandget.php';
include 'check.php';
$id=$_GET['id']; $link = mysql_connect($dbserver, $dbuser, $dbpass);
if (!$link) {
	die(ERR_DB);
}
else
{
	mysql_query("set names utf8");
	$sql="select * from ".$BIAOTOU."user where id=".$id;
	mysql_select_db($dbname);
	$rs = mysql_query($sql);

}	
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理中心</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 {
	color: #FFFFFF;
	font-weight: bold;
	font-size:14px;
	text-decoration:none;
}
.STYLE2 {
	color: #555555;
	font-weight: bold;
	font-size:14px;
	text-decoration:none;
}
-->
</style>
</head>

<body topmargin="5" leftmargin="0">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="282" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td>
          <table cellspacing="0" width="100%" height="207" style="border:1px  solid #DCEAF7;">
            <tr>
              <td height="30" colspan="2" bgcolor="E9F2FB" class="bigtext"><strong>&nbsp;<img src="images/arrow.gif" width="16" height="22" align="absmiddle" /> 删除用户信息</strong></td>
            </tr>
            <tr>
              <td width="100%" colspan="2" valign="top"><table width="100%" height="300" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td valign="top"><form id="form1" name="form1" method="post" action="savedeluser.php">
<br />
<table width="720"  align="center" border=1 cellpadding=0 cellspacing=0
style="border-collapse: collapse" bordercolor="#dddddd">
                     
					  <?php
					  while ($row = mysql_fetch_array($rs))
					{?>
                      <tr>
                        <td width="132" height="30" align="right" class="bigtext">用户名：                         </td>
                        <td width="582" height="30" class="bigtext">&nbsp;<?php echo $row["ddusername"]; ?> 
                          <input type="hidden" name="ddusername" value="<?php echo $row["ddusername"]; ?>" />
                          </td>
                      </tr>
					   <tr>
                        <td height="30" align="right" class="bigtext">用户积分：</td>
                        <td height="30" class="bigtext">&nbsp;<?php echo $row["dengji"]; ?></td>
                      </tr>
					   <tr>
                        <td height="30" align="right" class="bigtext">用户余额：</td>
                        <td height="30" class="bigtext">&nbsp;<?php echo round($row["money"],2);?> 元</td>
                      </tr>
					   <tr>
                        <td height="30" align="right" class="bigtext">电子邮箱：</td>
                        <td height="30" class="bigtext">&nbsp;<?php echo $row["email"]; ?></td>
                      </tr>
					   <tr>
                        <td height="30" align="right" class="bigtext">淘宝帐号：</td>
                        <td height="30" class="bigtext">&nbsp;<?php echo $row["tbusername"]; ?></td>
                      </tr>
					   <tr>
                        <td height="30" align="right" class="bigtext">支付宝：</td>
                        <td height="30" class="bigtext">&nbsp;<?php echo $row["zfb"]; ?></td>
                      </tr>
					  <tr>
                        <td height="30" align="right" class="bigtext">登录次数：</td>
                        <td height="30" class="bigtext">&nbsp;<?php echo $row["loginnum"]; ?></td>
                      </tr>
					  <tr>
                        <td height="30" align="right" class="bigtext">最后登录：</td>
                        <td height="30" class="bigtext">&nbsp;<?php echo $row["lastlogintime"]; ?></td>
                      </tr>
					  <tr>
                        <td height="30" align="right" class="bigtext">注册时间：</td>
                        <td height="30" class="bigtext">&nbsp;<?php echo $row["regtime"]; ?></td>
                      </tr>
					   <tr>
                        <td height="47" colspan="2" align="center" class="bigtext"><input type="submit" name="Submit" value=" 确定删除？" />                        </td>
                        </tr><?php }?>
                    </table>
                                    <br />
                  </form>
                  </td>
                </tr>
              </table></td>
            </tr>
          </table></td>
        </tr>
      
    </table></td>
  </tr>
</table>
</body>
</html>
<?php mysql_close($link);?>
